package jp.sourceforge.talisman.mds.distance;

/*
 * $Id: ItemDistanceCalculator.java,v 1.1 2009/09/12 05:06:08 weiwei Exp $
 */

import jp.sourceforge.talisman.mds.Item;

/**
 * 
 * @author Haruaki Tamada
 * @version $Revision: 1.1 $ 
 */
public interface ItemDistanceCalculator{
    public double calculate(Item x, Item y);

    public double calculate(Item x, Item y, int length);

    public double calculate(double[] x, double[] y);

    public ItemDistanceAlgorithm getAlgorithm();
}
